﻿<%@ Page Language="C#" MasterPageFile="~/SalesManagement/MasterPage.master" AutoEventWireup="true"
    CodeBehind="List.aspx.cs" Inherits="SZSLSystem.SalesManagement.Project.List"
    Title="列表页" %>

<%@ Register Src="~/SalesManagement/usercontrol/PageNavigator.ascx" TagName="PageNavigator"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="navigation" style="text-align: left;">
        <div class="toptitle">
            <a href="list.aspx">管理页</a>|<a  href="add.aspx">添加</a></div>
        <div style="padding: 5px; padding-top: 10px;">
            项目名称：<asp:TextBox ID="txtProjectName" runat="server"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Text="搜 索" CssClass="submit" OnClick="btnSearch_Click" />
        </div>
    </div>
    <div class="column" >
        <div class="columncontent">
            <table cellspacing="0" cellpadding="0" rules="all" align="center" border="0" style="border-width: 0px;
                width: 100%; border-collapse: collapse;">
                <tr class="summary-title" align="center" style="height: 25px;">
                    <td>
                        项目名称
                    </td>
                    <td>
                        项目地址
                    </td>
                    <td>
                        建设单位
                    </td>
                    <td>
                        营销电话
                    </td>
                    <td>
                        营销代理单位
                    </td>
                    <td>
                        操作
                    </td>
                </tr>
                <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand">
                    <ItemTemplate>
                        <tr class="tdbg" onmouseover="this.className='tdbg-dark';" onmouseout="this.className='tdbg';"
                            style="height: 23px;">
                            <td align="center">
                                <%#Eval("ProjectName")%>
                            </td>
                            <td align="center">
                                <%#Eval("ProjectAddress")%>
                            </td>
                            <td align="center">
                                <%#Eval("BuildCompany")%>
                            </td>
                            <td align="center">
                                <%#Eval("MarketingTel")%>
                            </td>
                            <td align="center">
                                <%#Eval("MarketingCompany")%>
                            </td>
                            <td align="center" style="width: 120px;">
                                <a href="Modify.aspx?TGuid=<%#Eval("OID")%>">编辑</a> <a href="show.aspx?TGuid=<%#Eval("OID")%>">
                                    查看</a>
                                <asp:LinkButton ID="lkDel" runat="server" CommandName="Del" CommandArgument='<%#Eval("OID")%>'
                                    OnClientClick="return confirm('确认删除？')">删除</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </div>
        <uc1:PageNavigator ID="PageNavigator1" runat="server" />
    </div>
</asp:Content>
